import java.util.Scanner ;
abstract class ADetect {
    public abstract boolean detect ( double sample);
}
class TPDetect extends ADetect {
    final double MINTP =36.0;//正常体温下限
    final double MAXTP =37.5;//正常体温上限

    public boolean detect ( double tp){
        boolean r= false;
        if ( tp > MAXTP ){
            r = false ;
        } else if ( tp < MINTP){
            r = false ;
        } else
            r= true;
        return r;
    }
}

